﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Reflection;

namespace TestMonkey.Core.Templates
{
    public class PropertyRead : PropertyTemplateProcessor
    {
        public override bool ShouldRun(Type type, PropertyInfo property)
        {
            return property.CanActuallyRead()
                && property.GetIndexParameters().Count()==0;
        }
    }
}
